<%@page import="java.util.Random"%>
<%@ page language="java" pageEncoding="UTF-8" errorPage="error.jsp"%><!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<jsp:include page="head.jsp" />
	</head>
	<body>
	<h1>异常发生的页面</h1>
	<%
	if(new Random().nextBoolean()){//模拟异常的抛出
		throw new Exception("模拟异常");
	}
	out.println("过滤成功！");
	%>
	</body>
</html>
